QuickOPC User's Guide and Reference
SourceTimestamp Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UABaseVariable<TValue,TAttribute> Class : SourceTimestamp Property
Contains the source timestamp. In UTC.
Syntax
'Declaration
 
<MappingTagAttribute("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")>
<UADataAttribute(Kind=UADataMappingKind.SourceTimestamp, Operations=UADataMappingOperations.ReadAndSubscribe)>
Public Property SourceTimestamp As Date
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Date
 
instance.SourceTimestamp = value
 
value = instance.SourceTimestamp
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(Kind=UADataMappingKind.SourceTimestamp, Operations=UADataMappingOperations.ReadAndSubscribe)]
public DateTime SourceTimestamp {get; set;}
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(Kind=UADataMappingKind.SourceTimestamp, Operations=UADataMappingOperations.ReadAndSubscribe)]
public:
property DateTime SourceTimestamp {
   DateTime get();
   void set (    DateTime value);
}
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also